package com.trickytriads.events
{
	import com.trickytriads.model.NewsData;
	
	import flash.events.Event;

	/**
	 * Event that handles loading of the news gallery.
	 **/
	public class LoadNewsEvent extends Event
	{
		// Event types
		public static const NEWS_LOAD_REQUEST:String = "newsLoadRequest";
		public static const NEWS_LOAD_DONE:String = "newsLoadDone";
		
		// Requested news id.  -1 = get the latest one.
		public var newsid:int;
		
		// Resulting NewsData object
		public var news:NewsData;
		
		public function LoadNewsEvent(type:String, id:int = -1)
		{
			super(type, false, false);
			newsid = id;
		}
		
		
		
	}
}